home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / MPW Interfaces & Libraries / AIncludes / ConnectionTools.a < prev    next >
Encoding:
Text File  |  1992-01-29  |  1.7 KB  |  97 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    ConnectionTools.a
  3. ;    Assembler Interface to the Connection Manager Tools.
  4. ;    
  5. ;    Copyright © Apple Computer, Inc.    1988-1991
  6. ;    All rights reserved;
  7.  
  8.     IF (&TYPE('__INCLUDINGCONNECTIONTOOLS__') = 'UNDEFINED') THEN
  9. __INCLUDINGCONNECTIONTOOLS__    SET        1
  10.  
  11. cmInitMsg         EQU    0
  12. cmDisposeMsg     EQU    1
  13. cmSuspendMsg    EQU    2
  14. cmResumeMsg     EQU    3
  15. cmMenuMsg         EQU    4
  16. cmEventMsg         EQU    5
  17. cmActivateMsg     EQU    6
  18. cmDeactivateMsg EQU    7
  19.  
  20. cmIdleMsg         EQU    50
  21. cmResetMsg         EQU    51 
  22. cmAbortMsg         EQU    52
  23.  
  24. cmReadMsg         EQU    100
  25. cmWriteMsg         EQU    101
  26. cmStatusMsg     EQU    102
  27. cmListenMsg     EQU    103
  28. cmAcceptMsg        EQU    104
  29. cmCloseMsg         EQU    105
  30. cmOpenMsg        EQU    106
  31. cmBreakMsg         EQU 107
  32. cmIOKillMsg        EQU    108
  33. cmEnvironsMsg     EQU    109
  34. cmNewIOPBMsg             EQU        110
  35. cmDisposeIOPBMsg        EQU        111
  36. cmGetErrorStringMsg     EQU        112
  37. cmPBReadMsg                EQU        113
  38. cmPBWriteMsg            EQU        114
  39. cmPBIOKillMsg            EQU        115
  40.     
  41. ;    messages for validate DefProc    
  42. cmValidateMsg    EQU    0
  43. cmDefaultMsg    EQU    1
  44.  
  45.  
  46. ;    messages for Setup DefProc    
  47. cmSpreflightMsg EQU 0
  48. cmSsetupMsg        EQU    1
  49. cmSitemMsg        EQU    2
  50. cmSfilterMsg    EQU    3
  51. cmScleanupMsg    EQU    4
  52.  
  53. ;    messages for scripting defProc    
  54. cmMgetMsg        EQU    0
  55. cmMsetMsg        EQU    1
  56.  
  57.  
  58. ;    messages for localization defProc    
  59. cmL2English        EQU    0
  60. cmL2Intl        EQU    1
  61.  
  62.  
  63. cdefType         EQU    'cdef'
  64. cvalType         EQU    'cval'
  65. csetType         EQU    'cset'
  66. clocType        EQU    'cloc'
  67. cscrType        EQU    'cscr'    
  68.  
  69. cbndType        EQU    'cbnd'
  70. cverType        EQU    'vers'
  71.  
  72.  
  73.  
  74. CMDataBuffer        Record    0
  75. thePtr                ds.l    1
  76. count                ds.l    1
  77. channel                ds.w    1
  78. flags                ds.w    1
  79. CMDataBufferSize    EQU        *
  80.     EndR
  81.  
  82. CMCompletorRecord    Record    0
  83. async                ds.b    1
  84. filler                ds.b    1
  85. completionRoutine    ds.l    1
  86. CMCompletorRecordSize    EQU    *
  87.     EndR
  88.     
  89. CMSetupStruct        Record    0
  90. theDialog            ds.l    1
  91. count                ds.w    1
  92. theConfig            ds.l    1
  93. procID                ds.w    1
  94. CMSetupStructSize    EQU    *
  95.     EndR
  96.     
  97.     ENDIF            ; already included